-- GENERATED SPELL FOR [Strider Jock] --


function spell0_21427(pUnit, Event) --@Shoot Tech Gun,n/a--
pUnit:FullCastSpellOnTarget(36246,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_21427', 593, 1)
end

function Sorts_21427(pUnit, Event)
local choix_sorts_21427 = math.random(0, 0)
if choix_sorts_21427 == 0 then
pUnit:RegisterEvent('spell0_21427', 1, 1)
end
end

function mob21427_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_21427', math.random(1500, 3000), 1)
end

function mob21427_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob21427_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob21427_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(21427, 1, 'mob21427_Action')
RegisterUnitEvent(21427, 2, 'mob21427_Leave')
RegisterUnitEvent(21427, 3, 'mob21427_Kill')
RegisterUnitEvent(21427, 4, 'mob21427_Die')
